#include "logo.h"

char getcharInput(void)
{
     int i;
     char ch;
     char str[MAXVALUE] ="\0";
     
     if (!strlen(input))
     {
        fgets(str,255,stdin);
        strcat(input,str);
     }
//     printf("INPUT IS %s.\n",input);

     inputLen =strlen(input);
     ch =input[0];
     input[inputLen] ='\0';
     for (i=0;i<inputLen;i++)
     {
         input[i] =input[i+1];
     }
     inputLen =strlen(input);
//     printf("INPUT IS %s.\n",input);
     return ch;
}
